package com.itcam.pro01;

/**
 * @author : Cammy.Wu
 * Description : 
 */

public class MyThread extends Thread{

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"run()方法正在执行");
    }

}

class ThreadTest{
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.start();
        System.out.println(Thread.currentThread().getName()+"main()方法正在执行");
    }
}


